projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9dabdb
)
Fix `revert-buffer' message in `find-file-select'
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 2 Sep 2021 16:44:55 +0000
(18:44 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 3 Sep 2021 05:48:10 +0000
(07:48 +0200)
* lisp/files.el (find-file-noselect): Refer to revert-buffer-quick
here since we're in a file-based buffer.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index bd87b995756b8d18826c936e064afc83e9846935..7e4bdab5075f8f8a3adce4ca2cebdd3a4d2a6d4e 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-2351,7
+2351,7
@@
the various files."
((not query-about-changed-file)
(message
(substitute-command-keys
- "File %s changed on disk. \\[revert-buffer] to load new contents%s")
+ "File %s changed on disk. \\[revert-buffer
-quick
] to load new contents%s")
(file-name-nondirectory filename)
(if (buffer-modified-p buf)
" and discard your edits"